home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 1.0 for Developers / QuickTime 1.0 for Developers.iso / Programming Stuff / XCMDs / Movie Making Stack / Movie Making Stack / background_6313.xml < prev    next >
Extensible Markup Language  |  1991-09-11  |  33KB  |  886 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>6313</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_8223.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3289.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>94</left>
  23.             <top>10</top>
  24.             <right>314</right>
  25.             <bottom>175</bottom>
  26.         </rect>
  27.         <style>rectangle</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>VideoRect</name>
  40.         <script></script>
  41.     </part>
  42.     <part>
  43.         <id>2</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>2</left>
  54.             <top>160</top>
  55.             <right>91</right>
  56.             <bottom>178</bottom>
  57.         </rect>
  58.         <style>shadow</style>
  59.         <showName> <true /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>0</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Chicago</font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name>Show Video</name>
  71.         <script>on mouseUpif "show" is in the short name of me thenif there is a window "Live Video" then exit mouseUpQTRecordMovie "Live Video",plain,the rect of bg btn videoRect,¬¨true, the hilite of bg btn "sound"get the resultif it is not empty thenanswer itexit mouseUpend ifset name of me to "Hide Video"elseif there is a window "Live Video" then close window "live video"set name of me to "Show Video"end ifend mouseUp</script>
  72.     </part>
  73.     <part>
  74.         <id>4</id>
  75.         <type>field</type>
  76.         <visible> <true /> </visible>
  77.         <dontWrap> <false /> </dontWrap>
  78.         <dontSearch> <false /> </dontSearch>
  79.         <sharedText> <false /> </sharedText>
  80.         <fixedLineHeight> <false /> </fixedLineHeight>
  81.         <autoTab> <false /> </autoTab>
  82.         <lockText> <true /> </lockText>
  83.         <rect>
  84.             <left>1</left>
  85.             <top>373</top>
  86.             <right>290</right>
  87.             <bottom>400</bottom>
  88.         </rect>
  89.         <style>transparent</style>
  90.         <autoSelect> <false /> </autoSelect>
  91.         <showLines> <false /> </showLines>
  92.         <wideMargins> <false /> </wideMargins>
  93.         <multipleLines> <false /> </multipleLines>
  94.         <reservedFamily> 0 </reservedFamily>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>0</icon>
  97.         <textAlign>left</textAlign>
  98.         <font>Palatino</font>
  99.         <textSize>24</textSize>
  100.         <textStyle>plain</textStyle>
  101.         <textHeight>32</textHeight>
  102.         <name>cardname</name>
  103.         <script>on mouseUpif the optionKey is down thenset lockText of me to falseend ifend mouseUpon closefieldset lockText of me to trueend closeField</script>
  104.     </part>
  105.     <part>
  106.         <id>5</id>
  107.         <type>button</type>
  108.         <visible> <true /> </visible>
  109.         <reserved5> 0 </reserved5>
  110.         <reserved4> 0 </reserved4>
  111.         <reserved3> 0 </reserved3>
  112.         <reserved2> 0 </reserved2>
  113.         <reserved1> 0 </reserved1>
  114.         <enabled> <true /> </enabled>
  115.         <rect>
  116.             <left>498</left>
  117.             <top>358</top>
  118.             <right>530</right>
  119.             <bottom>387</bottom>
  120.         </rect>
  121.         <style>transparent</style>
  122.         <showName> <false /> </showName>
  123.         <highlight> <false /> </highlight>
  124.         <autoHighlight> <false /> </autoHighlight>
  125.         <sharedHighlight> <true /> </sharedHighlight>
  126.         <family>0</family>
  127.         <titleWidth>0</titleWidth>
  128.         <icon>26425</icon>
  129.         <textAlign>center</textAlign>
  130.         <font>Chicago</font>
  131.         <textSize>12</textSize>
  132.         <textStyle>plain</textStyle>
  133.         <name></name>
  134.         <script>on mouseUpgo next cardend mouseUp</script>
  135.     </part>
  136.     <part>
  137.         <id>6</id>
  138.         <type>button</type>
  139.         <visible> <true /> </visible>
  140.         <reserved5> 0 </reserved5>
  141.         <reserved4> 0 </reserved4>
  142.         <reserved3> 0 </reserved3>
  143.         <reserved2> 0 </reserved2>
  144.         <reserved1> 0 </reserved1>
  145.         <enabled> <true /> </enabled>
  146.         <rect>
  147.             <left>463</left>
  148.             <top>358</top>
  149.             <right>497</right>
  150.             <bottom>387</bottom>
  151.         </rect>
  152.         <style>transparent</style>
  153.         <showName> <false /> </showName>
  154.         <highlight> <false /> </highlight>
  155.         <autoHighlight> <false /> </autoHighlight>
  156.         <sharedHighlight> <true /> </sharedHighlight>
  157.         <family>0</family>
  158.         <titleWidth>0</titleWidth>
  159.         <icon>902</icon>
  160.         <textAlign>center</textAlign>
  161.         <font>Chicago</font>
  162.         <textSize>12</textSize>
  163.         <textStyle>plain</textStyle>
  164.         <name></name>
  165.         <script>on mouseUpgo prev cardend mouseUp</script>
  166.     </part>
  167.     <part>
  168.         <id>8</id>
  169.         <type>button</type>
  170.         <visible> <true /> </visible>
  171.         <reserved5> 0 </reserved5>
  172.         <reserved4> 0 </reserved4>
  173.         <reserved3> 0 </reserved3>
  174.         <reserved2> 0 </reserved2>
  175.         <reserved1> 0 </reserved1>
  176.         <enabled> <true /> </enabled>
  177.         <rect>
  178.             <left>445</left>
  179.             <top>17</top>
  180.             <right>506</right>
  181.             <bottom>32</bottom>
  182.         </rect>
  183.         <style>radiobutton</style>
  184.         <showName> <true /> </showName>
  185.         <highlight> <false /> </highlight>
  186.         <autoHighlight> <false /> </autoHighlight>
  187.         <sharedHighlight> <false /> </sharedHighlight>
  188.         <family>0</family>
  189.         <titleWidth>0</titleWidth>
  190.         <icon>0</icon>
  191.         <textAlign>center</textAlign>
  192.         <font>Geneva</font>
  193.         <textSize>10</textSize>
  194.         <textStyle>bold</textStyle>
  195.         <name>10 fps</name>
  196.         <script>on mouseUpset hilite of me to trueset hilite of bg btn "12 FPS" to falseset hilite of bg btn "15 FPS" to falseend mouseUp</script>
  197.     </part>
  198.     <part>
  199.         <id>9</id>
  200.         <type>button</type>
  201.         <visible> <true /> </visible>
  202.         <reserved5> 0 </reserved5>
  203.         <reserved4> 0 </reserved4>
  204.         <reserved3> 0 </reserved3>
  205.         <reserved2> 0 </reserved2>
  206.         <reserved1> 0 </reserved1>
  207.         <enabled> <true /> </enabled>
  208.         <rect>
  209.             <left>445</left>
  210.             <top>33</top>
  211.             <right>505</right>
  212.             <bottom>48</bottom>
  213.         </rect>
  214.         <style>radiobutton</style>
  215.         <showName> <true /> </showName>
  216.         <highlight> <false /> </highlight>
  217.         <autoHighlight> <false /> </autoHighlight>
  218.         <sharedHighlight> <false /> </sharedHighlight>
  219.         <family>0</family>
  220.         <titleWidth>0</titleWidth>
  221.         <icon>0</icon>
  222.         <textAlign>center</textAlign>
  223.         <font>Geneva</font>
  224.         <textSize>10</textSize>
  225.         <textStyle>bold</textStyle>
  226.         <name>12 fps</name>
  227.         <script>on mouseUpset hilite of me to trueset hilite of bg btn "10 FPS" to falseset hilite of bg btn "15 FPS" to falseend mouseUp</script>
  228.     </part>
  229.     <part>
  230.         <id>10</id>
  231.         <type>button</type>
  232.         <visible> <true /> </visible>
  233.         <reserved5> 0 </reserved5>
  234.         <reserved4> 0 </reserved4>
  235.         <reserved3> 0 </reserved3>
  236.         <reserved2> 0 </reserved2>
  237.         <reserved1> 0 </reserved1>
  238.         <enabled> <true /> </enabled>
  239.         <rect>
  240.             <left>445</left>
  241.             <top>49</top>
  242.             <right>505</right>
  243.             <bottom>64</bottom>
  244.         </rect>
  245.         <style>radiobutton</style>
  246.         <showName> <true /> </showName>
  247.         <highlight> <false /> </highlight>
  248.         <autoHighlight> <false /> </autoHighlight>
  249.         <sharedHighlight> <false /> </sharedHighlight>
  250.         <family>0</family>
  251.         <titleWidth>0</titleWidth>
  252.         <icon>0</icon>
  253.         <textAlign>center</textAlign>
  254.         <font>Geneva</font>
  255.         <textSize>10</textSize>
  256.         <textStyle>bold</textStyle>
  257.         <name>15 fps</name>
  258.         <script>on mouseUpset hilite of me to trueset hilite of bg btn "10 FPS" to falseset hilite of bg btn "12 FPS" to falseend mouseUp</script>
  259.     </part>
  260.     <part>
  261.         <id>11</id>
  262.         <type>field</type>
  263.         <visible> <true /> </visible>
  264.         <dontWrap> <false /> </dontWrap>
  265.         <dontSearch> <false /> </dontSearch>
  266.         <sharedText> <false /> </sharedText>
  267.         <fixedLineHeight> <false /> </fixedLineHeight>
  268.         <autoTab> <false /> </autoTab>
  269.         <lockText> <true /> </lockText>
  270.         <rect>
  271.             <left>92</left>
  272.             <top>266</top>
  273.             <right>517</right>
  274.             <bottom>284</bottom>
  275.         </rect>
  276.         <style>rectangle</style>
  277.         <autoSelect> <false /> </autoSelect>
  278.         <showLines> <false /> </showLines>
  279.         <wideMargins> <false /> </wideMargins>
  280.         <multipleLines> <false /> </multipleLines>
  281.         <reservedFamily> 0 </reservedFamily>
  282.         <titleWidth>0</titleWidth>
  283.         <icon>0</icon>
  284.         <textAlign>left</textAlign>
  285.         <font>Palatino</font>
  286.         <textSize>14</textSize>
  287.         <textStyle>plain</textStyle>
  288.         <textHeight>18</textHeight>
  289.         <name>fileName</name>
  290.         <script></script>
  291.     </part>
  292.     <part>
  293.         <id>13</id>
  294.         <type>field</type>
  295.         <visible> <true /> </visible>
  296.         <dontWrap> <false /> </dontWrap>
  297.         <dontSearch> <false /> </dontSearch>
  298.         <sharedText> <false /> </sharedText>
  299.         <fixedLineHeight> <false /> </fixedLineHeight>
  300.         <autoTab> <false /> </autoTab>
  301.         <lockText> <false /> </lockText>
  302.         <rect>
  303.             <left>473</left>
  304.             <top>90</top>
  305.             <right>504</right>
  306.             <bottom>107</bottom>
  307.         </rect>
  308.         <style>rectangle</style>
  309.         <autoSelect> <false /> </autoSelect>
  310.         <showLines> <false /> </showLines>
  311.         <wideMargins> <false /> </wideMargins>
  312.         <multipleLines> <false /> </multipleLines>
  313.         <reservedFamily> 0 </reservedFamily>
  314.         <titleWidth>0</titleWidth>
  315.         <icon>0</icon>
  316.         <textAlign>right</textAlign>
  317.         <font>Geneva</font>
  318.         <textSize>12</textSize>
  319.         <textStyle>bold</textStyle>
  320.         <textHeight>16</textHeight>
  321.         <name>MovieQuality</name>
  322.         <script>on closeFieldif there is a window "live video" thenset codecType of window "live video" to meget the resultif it is not empty then put itend ifend closeField</script>
  323.     </part>
  324.     <part>
  325.         <id>14</id>
  326.         <type>field</type>
  327.         <visible> <true /> </visible>
  328.         <dontWrap> <false /> </dontWrap>
  329.         <dontSearch> <false /> </dontSearch>
  330.         <sharedText> <false /> </sharedText>
  331.         <fixedLineHeight> <false /> </fixedLineHeight>
  332.         <autoTab> <false /> </autoTab>
  333.         <lockText> <false /> </lockText>
  334.         <rect>
  335.             <left>473</left>
  336.             <top>132</top>
  337.             <right>506</right>
  338.             <bottom>149</bottom>
  339.         </rect>
  340.         <style>rectangle</style>
  341.         <autoSelect> <false /> </autoSelect>
  342.         <showLines> <false /> </showLines>
  343.         <wideMargins> <false /> </wideMargins>
  344.         <multipleLines> <false /> </multipleLines>
  345.         <reservedFamily> 0 </reservedFamily>
  346.         <titleWidth>0</titleWidth>
  347.         <icon>0</icon>
  348.         <textAlign>right</textAlign>
  349.         <font>Geneva</font>
  350.         <textSize>12</textSize>
  351.         <textStyle>bold</textStyle>
  352.         <textHeight>16</textHeight>
  353.         <name>motionQuality</name>
  354.         <script>on closeFieldif there is a window "live video" thenset motionQuality of window "live video" to meget the resultif it is not empty then put itend ifend closeField</script>
  355.     </part>
  356.     <part>
  357.         <id>15</id>
  358.         <type>button</type>
  359.         <visible> <true /> </visible>
  360.         <reserved5> 0 </reserved5>
  361.         <reserved4> 0 </reserved4>
  362.         <reserved3> 0 </reserved3>
  363.         <reserved2> 0 </reserved2>
  364.         <reserved1> 0 </reserved1>
  365.         <enabled> <true /> </enabled>
  366.         <rect>
  367.             <left>456</left>
  368.             <top>87</top>
  369.             <right>469</right>
  370.             <bottom>99</bottom>
  371.         </rect>
  372.         <style>transparent</style>
  373.         <showName> <false /> </showName>
  374.         <highlight> <false /> </highlight>
  375.         <autoHighlight> <false /> </autoHighlight>
  376.         <sharedHighlight> <true /> </sharedHighlight>
  377.         <family>0</family>
  378.         <titleWidth>0</titleWidth>
  379.         <icon>18001</icon>
  380.         <textAlign>center</textAlign>
  381.         <font>Chicago</font>
  382.         <textSize>12</textSize>
  383.         <textStyle>plain</textStyle>
  384.         <name></name>
  385.         <script>on mouseUpif bg field movieQuality < 10 thenadd 1 to bg field movieQualityelsebeepend ifend mouseUp</script>
  386.     </part>
  387.     <part>
  388.         <id>16</id>
  389.         <type>button</type>
  390.         <visible> <true /> </visible>
  391.         <reserved5> 0 </reserved5>
  392.         <reserved4> 0 </reserved4>
  393.         <reserved3> 0 </reserved3>
  394.         <reserved2> 0 </reserved2>
  395.         <reserved1> 0 </reserved1>
  396.         <enabled> <true /> </enabled>
  397.         <rect>
  398.             <left>456</left>
  399.             <top>97</top>
  400.             <right>468</right>
  401.             <bottom>109</bottom>
  402.         </rect>
  403.         <style>transparent</style>
  404.         <showName> <false /> </showName>
  405.         <highlight> <false /> </highlight>
  406.         <autoHighlight> <false /> </autoHighlight>
  407.         <sharedHighlight> <true /> </sharedHighlight>
  408.         <family>0</family>
  409.         <titleWidth>0</titleWidth>
  410.         <icon>9052</icon>
  411.         <textAlign>center</textAlign>
  412.         <font>Chicago</font>
  413.         <textSize>12</textSize>
  414.         <textStyle>plain</textStyle>
  415.         <name></name>
  416.         <script>on mouseUpif bg field movieQuality > 1 thensubtract 1 from bg field movieQualityelsebeepend ifend mouseUp</script>
  417.     </part>
  418.     <part>
  419.         <id>17</id>
  420.         <type>button</type>
  421.         <visible> <true /> </visible>
  422.         <reserved5> 0 </reserved5>
  423.         <reserved4> 0 </reserved4>
  424.         <reserved3> 0 </reserved3>
  425.         <reserved2> 0 </reserved2>
  426.         <reserved1> 0 </reserved1>
  427.         <enabled> <true /> </enabled>
  428.         <rect>
  429.             <left>457</left>
  430.             <top>129</top>
  431.             <right>469</right>
  432.             <bottom>141</bottom>
  433.         </rect>
  434.         <style>transparent</style>
  435.         <showName> <false /> </showName>
  436.         <highlight> <false /> </highlight>
  437.         <autoHighlight> <false /> </autoHighlight>
  438.         <sharedHighlight> <true /> </sharedHighlight>
  439.         <family>0</family>
  440.         <titleWidth>0</titleWidth>
  441.         <icon>18001</icon>
  442.         <textAlign>center</textAlign>
  443.         <font>Chicago</font>
  444.         <textSize>12</textSize>
  445.         <textStyle>plain</textStyle>
  446.         <name></name>
  447.         <script>on mouseUpif bg field motionQuality < 10 thenadd 1 to bg field motionQualityelsebeepend ifend mouseUp</script>
  448.     </part>
  449.     <part>
  450.         <id>18</id>
  451.         <type>button</type>
  452.         <visible> <true /> </visible>
  453.         <reserved5> 0 </reserved5>
  454.         <reserved4> 0 </reserved4>
  455.         <reserved3> 0 </reserved3>
  456.         <reserved2> 0 </reserved2>
  457.         <reserved1> 0 </reserved1>
  458.         <enabled> <true /> </enabled>
  459.         <rect>
  460.             <left>456</left>
  461.             <top>139</top>
  462.             <right>469</right>
  463.             <bottom>151</bottom>
  464.         </rect>
  465.         <style>transparent</style>
  466.         <showName> <false /> </showName>
  467.         <highlight> <false /> </highlight>
  468.         <autoHighlight> <false /> </autoHighlight>
  469.         <sharedHighlight> <true /> </sharedHighlight>
  470.         <family>0</family>
  471.         <titleWidth>0</titleWidth>
  472.         <icon>9052</icon>
  473.         <textAlign>center</textAlign>
  474.         <font>Chicago</font>
  475.         <textSize>12</textSize>
  476.         <textStyle>plain</textStyle>
  477.         <name></name>
  478.         <script>on mouseUpif bg field motionQuality > 1 thensubtract 1 from bg field motionQualityelsebeepend ifend mouseUp</script>
  479.     </part>
  480.     <part>
  481.         <id>19</id>
  482.         <type>button</type>
  483.         <visible> <true /> </visible>
  484.         <reserved5> 0 </reserved5>
  485.         <reserved4> 0 </reserved4>
  486.         <reserved3> 0 </reserved3>
  487.         <reserved2> 0 </reserved2>
  488.         <reserved1> 0 </reserved1>
  489.         <enabled> <true /> </enabled>
  490.         <rect>
  491.             <left>426</left>
  492.             <top>72</top>
  493.             <right>529</right>
  494.             <bottom>88</bottom>
  495.         </rect>
  496.         <style>transparent</style>
  497.         <showName> <true /> </showName>
  498.         <highlight> <false /> </highlight>
  499.         <autoHighlight> <false /> </autoHighlight>
  500.         <sharedHighlight> <true /> </sharedHighlight>
  501.         <family>0</family>
  502.         <titleWidth>0</titleWidth>
  503.         <icon>0</icon>
  504.         <textAlign>center</textAlign>
  505.         <font>Geneva</font>
  506.         <textSize>10</textSize>
  507.         <textStyle>bold</textStyle>
  508.         <name>Picture Quality</name>
  509.         <script>on mouseUpend mouseUp</script>
  510.     </part>
  511.     <part>
  512.         <id>21</id>
  513.         <type>button</type>
  514.         <visible> <true /> </visible>
  515.         <reserved5> 0 </reserved5>
  516.         <reserved4> 0 </reserved4>
  517.         <reserved3> 0 </reserved3>
  518.         <reserved2> 0 </reserved2>
  519.         <reserved1> 0 </reserved1>
  520.         <enabled> <true /> </enabled>
  521.         <rect>
  522.             <left>430</left>
  523.             <top>115</top>
  524.             <right>529</right>
  525.             <bottom>130</bottom>
  526.         </rect>
  527.         <style>transparent</style>
  528.         <showName> <true /> </showName>
  529.         <highlight> <false /> </highlight>
  530.         <autoHighlight> <false /> </autoHighlight>
  531.         <sharedHighlight> <true /> </sharedHighlight>
  532.         <family>0</family>
  533.         <titleWidth>0</titleWidth>
  534.         <icon>0</icon>
  535.         <textAlign>center</textAlign>
  536.         <font>Geneva</font>
  537.         <textSize>10</textSize>
  538.         <textStyle>bold</textStyle>
  539.         <name>Motion Quality</name>
  540.         <script>on mouseUpend mouseUp</script>
  541.     </part>
  542.     <part>
  543.         <id>22</id>
  544.         <type>button</type>
  545.         <visible> <true /> </visible>
  546.         <reserved5> 0 </reserved5>
  547.         <reserved4> 0 </reserved4>
  548.         <reserved3> 0 </reserved3>
  549.         <reserved2> 0 </reserved2>
  550.         <reserved1> 0 </reserved1>
  551.         <enabled> <true /> </enabled>
  552.         <rect>
  553.             <left>4</left>
  554.             <top>296</top>
  555.             <right>91</right>
  556.             <bottom>323</bottom>
  557.         </rect>
  558.         <style>roundrect</style>
  559.         <showName> <true /> </showName>
  560.         <highlight> <false /> </highlight>
  561.         <autoHighlight> <false /> </autoHighlight>
  562.         <sharedHighlight> <true /> </sharedHighlight>
  563.         <family>0</family>
  564.         <titleWidth>0</titleWidth>
  565.         <icon>0</icon>
  566.         <textAlign>center</textAlign>
  567.         <font>Chicago</font>
  568.         <textSize>12</textSize>
  569.         <textStyle>plain</textStyle>
  570.         <name>Make Movie</name>
  571.         <script>on mouseUpMakeMovieend mouseUp</script>
  572.     </part>
  573.     <part>
  574.         <id>23</id>
  575.         <type>button</type>
  576.         <visible> <true /> </visible>
  577.         <reserved5> 0 </reserved5>
  578.         <reserved4> 0 </reserved4>
  579.         <reserved3> 0 </reserved3>
  580.         <reserved2> 0 </reserved2>
  581.         <reserved1> 0 </reserved1>
  582.         <enabled> <true /> </enabled>
  583.         <rect>
  584.             <left>5</left>
  585.             <top>327</top>
  586.             <right>91</right>
  587.             <bottom>354</bottom>
  588.         </rect>
  589.         <style>roundrect</style>
  590.         <showName> <true /> </showName>
  591.         <highlight> <false /> </highlight>
  592.         <autoHighlight> <false /> </autoHighlight>
  593.         <sharedHighlight> <true /> </sharedHighlight>
  594.         <family>0</family>
  595.         <titleWidth>0</titleWidth>
  596.         <icon>0</icon>
  597.         <textAlign>center</textAlign>
  598.         <font>Chicago</font>
  599.         <textSize>12</textSize>
  600.         <textStyle>plain</textStyle>
  601.         <name>End Movie</name>
  602.         <script>on mouseUpEndMovieend mouseUp</script>
  603.     </part>
  604.     <part>
  605.         <id>24</id>
  606.         <type>button</type>
  607.         <visible> <true /> </visible>
  608.         <reserved5> 0 </reserved5>
  609.         <reserved4> 0 </reserved4>
  610.         <reserved3> 0 </reserved3>
  611.         <reserved2> 0 </reserved2>
  612.         <reserved1> 0 </reserved1>
  613.         <enabled> <true /> </enabled>
  614.         <rect>
  615.             <left>5</left>
  616.             <top>5</top>
  617.             <right>77</right>
  618.             <bottom>90</bottom>
  619.         </rect>
  620.         <style>transparent</style>
  621.         <showName> <false /> </showName>
  622.         <highlight> <false /> </highlight>
  623.         <autoHighlight> <false /> </autoHighlight>
  624.         <sharedHighlight> <true /> </sharedHighlight>
  625.         <family>0</family>
  626.         <titleWidth>0</titleWidth>
  627.         <icon>0</icon>
  628.         <textAlign>center</textAlign>
  629.         <font>Chicago</font>
  630.         <textSize>12</textSize>
  631.         <textStyle>plain</textStyle>
  632.         <name></name>
  633.         <script>on mouseUpgo card "Play A Movie"end mouseUp</script>
  634.     </part>
  635.     <part>
  636.         <id>25</id>
  637.         <type>button</type>
  638.         <visible> <true /> </visible>
  639.         <reserved5> 0 </reserved5>
  640.         <reserved4> 0 </reserved4>
  641.         <reserved3> 0 </reserved3>
  642.         <reserved2> 0 </reserved2>
  643.         <reserved1> 0 </reserved1>
  644.         <enabled> <true /> </enabled>
  645.         <rect>
  646.             <left>5</left>
  647.             <top>9</top>
  648.             <right>73</right>
  649.             <bottom>92</bottom>
  650.         </rect>
  651.         <style>transparent</style>
  652.         <showName> <false /> </showName>
  653.         <highlight> <false /> </highlight>
  654.         <autoHighlight> <false /> </autoHighlight>
  655.         <sharedHighlight> <true /> </sharedHighlight>
  656.         <family>0</family>
  657.         <titleWidth>0</titleWidth>
  658.         <icon>0</icon>
  659.         <textAlign>center</textAlign>
  660.         <font>Chicago</font>
  661.         <textSize>12</textSize>
  662.         <textStyle>plain</textStyle>
  663.         <name>Go</name>
  664.         <script>on mouseDownlogoGoCardend mouseDown</script>
  665.     </part>
  666.     <part>
  667.         <id>26</id>
  668.         <type>button</type>
  669.         <visible> <true /> </visible>
  670.         <reserved5> 0 </reserved5>
  671.         <reserved4> 0 </reserved4>
  672.         <reserved3> 0 </reserved3>
  673.         <reserved2> 0 </reserved2>
  674.         <reserved1> 0 </reserved1>
  675.         <enabled> <true /> </enabled>
  676.         <rect>
  677.             <left>440</left>
  678.             <top>182</top>
  679.             <right>526</right>
  680.             <bottom>200</bottom>
  681.         </rect>
  682.         <style>roundrect</style>
  683.         <showName> <true /> </showName>
  684.         <highlight> <false /> </highlight>
  685.         <autoHighlight> <false /> </autoHighlight>
  686.         <sharedHighlight> <true /> </sharedHighlight>
  687.         <family>0</family>
  688.         <titleWidth>0</titleWidth>
  689.         <icon>0</icon>
  690.         <textAlign>center</textAlign>
  691.         <font>Chicago</font>
  692.         <textSize>12</textSize>
  693.         <textStyle>plain</textStyle>
  694.         <name>Play Back</name>
  695.         <script>on mouseUpif the hilite of bg btn "load into RAM" is true thenput "loadintoRAM" into ramelseput empty into ramend ifQTMovie OpenMovie, windoid, bg field fileName, ¬¨the topLeft of bg btn here, loop, ramif the result is not empty thenPostError the resultexit mouseUpend ifend mouseUp</script>
  696.     </part>
  697.     <part>
  698.         <id>30</id>
  699.         <type>button</type>
  700.         <visible> <true /> </visible>
  701.         <reserved5> 0 </reserved5>
  702.         <reserved4> 0 </reserved4>
  703.         <reserved3> 0 </reserved3>
  704.         <reserved2> 0 </reserved2>
  705.         <reserved1> 0 </reserved1>
  706.         <enabled> <true /> </enabled>
  707.         <rect>
  708.             <left>0</left>
  709.             <top>220</top>
  710.             <right>92</right>
  711.             <bottom>238</bottom>
  712.         </rect>
  713.         <style>shadow</style>
  714.         <showName> <true /> </showName>
  715.         <highlight> <false /> </highlight>
  716.         <autoHighlight> <false /> </autoHighlight>
  717.         <sharedHighlight> <true /> </sharedHighlight>
  718.         <family>0</family>
  719.         <titleWidth>0</titleWidth>
  720.         <icon>0</icon>
  721.         <textAlign>center</textAlign>
  722.         <font>Chicago</font>
  723.         <textSize>12</textSize>
  724.         <textStyle>plain</textStyle>
  725.         <name>Show ClipRgn</name>
  726.         <script>on mouseStillDownif there is a window "live video" thensend showClip to window "live video"end ifend mouseStillDown</script>
  727.     </part>
  728.     <part>
  729.         <id>31</id>
  730.         <type>button</type>
  731.         <visible> <true /> </visible>
  732.         <reserved5> 0 </reserved5>
  733.         <reserved4> 0 </reserved4>
  734.         <reserved3> 0 </reserved3>
  735.         <reserved2> 0 </reserved2>
  736.         <reserved1> 0 </reserved1>
  737.         <enabled> <true /> </enabled>
  738.         <rect>
  739.             <left>420</left>
  740.             <top>155</top>
  741.             <right>523</right>
  742.             <bottom>172</bottom>
  743.         </rect>
  744.         <style>checkbox</style>
  745.         <showName> <true /> </showName>
  746.         <highlight> <false /> </highlight>
  747.         <autoHighlight> <true /> </autoHighlight>
  748.         <sharedHighlight> <false /> </sharedHighlight>
  749.         <family>0</family>
  750.         <titleWidth>0</titleWidth>
  751.         <icon>0</icon>
  752.         <textAlign>center</textAlign>
  753.         <font>Geneva</font>
  754.         <textSize>9</textSize>
  755.         <textStyle>plain</textStyle>
  756.         <name>Frame Differenced</name>
  757.         <script></script>
  758.     </part>
  759.     <part>
  760.         <id>32</id>
  761.         <type>button</type>
  762.         <visible> <true /> </visible>
  763.         <reserved5> 0 </reserved5>
  764.         <reserved4> 0 </reserved4>
  765.         <reserved3> 0 </reserved3>
  766.         <reserved2> 0 </reserved2>
  767.         <reserved1> 0 </reserved1>
  768.         <enabled> <true /> </enabled>
  769.         <rect>
  770.             <left>8</left>
  771.             <top>186</top>
  772.             <right>83</right>
  773.             <bottom>203</bottom>
  774.         </rect>
  775.         <style>checkbox</style>
  776.         <showName> <true /> </showName>
  777.         <highlight> <true /> </highlight>
  778.         <autoHighlight> <true /> </autoHighlight>
  779.         <sharedHighlight> <true /> </sharedHighlight>
  780.         <family>0</family>
  781.         <titleWidth>0</titleWidth>
  782.         <icon>0</icon>
  783.         <textAlign>center</textAlign>
  784.         <font>Chicago</font>
  785.         <textSize>12</textSize>
  786.         <textStyle>plain</textStyle>
  787.         <name>Sound</name>
  788.         <script>on mouseUpif there is a window "live video" thenif the hilite of me thensend startSound to window "live video"elsesend releaseSound to window "live video"end ifend ifend mouseUp</script>
  789.     </part>
  790.     <part>
  791.         <id>33</id>
  792.         <type>button</type>
  793.         <visible> <true /> </visible>
  794.         <reserved5> 0 </reserved5>
  795.         <reserved4> 0 </reserved4>
  796.         <reserved3> 0 </reserved3>
  797.         <reserved2> 0 </reserved2>
  798.         <reserved1> 0 </reserved1>
  799.         <enabled> <true /> </enabled>
  800.         <rect>
  801.             <left>439</left>
  802.             <top>203</top>
  803.             <right>522</right>
  804.             <bottom>221</bottom>
  805.         </rect>
  806.         <style>checkbox</style>
  807.         <showName> <true /> </showName>
  808.         <highlight> <true /> </highlight>
  809.         <autoHighlight> <true /> </autoHighlight>
  810.         <sharedHighlight> <true /> </sharedHighlight>
  811.         <family>0</family>
  812.         <titleWidth>0</titleWidth>
  813.         <icon>0</icon>
  814.         <textAlign>center</textAlign>
  815.         <font>Geneva</font>
  816.         <textSize>9</textSize>
  817.         <textStyle>plain</textStyle>
  818.         <name>load into RAM</name>
  819.         <script></script>
  820.     </part>
  821.     <part>
  822.         <id>34</id>
  823.         <type>button</type>
  824.         <visible> <true /> </visible>
  825.         <reserved5> 0 </reserved5>
  826.         <reserved4> 0 </reserved4>
  827.         <reserved3> 0 </reserved3>
  828.         <reserved2> 0 </reserved2>
  829.         <reserved1> 0 </reserved1>
  830.         <enabled> <true /> </enabled>
  831.         <rect>
  832.             <left>171</left>
  833.             <top>198</top>
  834.             <right>207</right>
  835.             <bottom>226</bottom>
  836.         </rect>
  837.         <style>transparent</style>
  838.         <showName> <false /> </showName>
  839.         <highlight> <false /> </highlight>
  840.         <autoHighlight> <false /> </autoHighlight>
  841.         <sharedHighlight> <true /> </sharedHighlight>
  842.         <family>0</family>
  843.         <titleWidth>0</titleWidth>
  844.         <icon>0</icon>
  845.         <textAlign>center</textAlign>
  846.         <font>Chicago</font>
  847.         <textSize>12</textSize>
  848.         <textStyle>plain</textStyle>
  849.         <name>here</name>
  850.         <script></script>
  851.     </part>
  852.     <part>
  853.         <id>35</id>
  854.         <type>button</type>
  855.         <visible> <true /> </visible>
  856.         <reserved5> 0 </reserved5>
  857.         <reserved4> 0 </reserved4>
  858.         <reserved3> 0 </reserved3>
  859.         <reserved2> 0 </reserved2>
  860.         <reserved1> 0 </reserved1>
  861.         <enabled> <true /> </enabled>
  862.         <rect>
  863.             <left>8</left>
  864.             <top>265</top>
  865.             <right>89</right>
  866.             <bottom>285</bottom>
  867.         </rect>
  868.         <style>shadow</style>
  869.         <showName> <true /> </showName>
  870.         <highlight> <false /> </highlight>
  871.         <autoHighlight> <false /> </autoHighlight>
  872.         <sharedHighlight> <true /> </sharedHighlight>
  873.         <family>0</family>
  874.         <titleWidth>0</titleWidth>
  875.         <icon>0</icon>
  876.         <textAlign>center</textAlign>
  877.         <font>Chicago</font>
  878.         <textSize>12</textSize>
  879.         <textStyle>plain</textStyle>
  880.         <name>Pick A File</name>
  881.         <script>on mouseUpif there is a window "Live video" thensend videoOff to window "live video"end ifif bg field filename is not empty thenput extractFileName(bg field filename) into primeNameelseput empty into primeNameend ifAsk file "Pick a New Movie File:" with primeNameif it is not empty then put it into bg field filenameif there is a window "Live video" thensend videoOn to window "live video"end ifend mouseup</script>
  882.     </part>
  883.     <name>QTRecordMovie</name>
  884.     <script>on openCardif the id of this card is not in the short name of this card thenput the short name of this card into field cardNameend ifset lockText of bg field cardName to truepass openCardend openCardon closeBackgroundset name of bg btn id 2 to "Show Video"if there is a window "live video" thenclose window "live video"end ifend closeBackgroundon openBackgroundset name of bg btn id 2 to "Show Video"end openBackgroundon PostError strif there is a window "Live video" thensend videoOff to window "live video"end ifanswer strif there is a window "Live video" thensend videoOn to window "live video"end ifend PostErroron SetNameif there is a window "Live Video" thenif bg fld fileName is not empty thenset movieName of window "live Video" to line 1 of bg fld fileNameend ifend ifend SetNameon SetValuesif there is a window "Live Video" thenSetNameif bg fld movieQuality is not empty thenset movieQuality of window "live Video" to bg fld movieQualityend ifif bg fld motionQuality is not empty thenset motionQuality of window "live Video" to bg fld motionQualityend ifset frameDifferenced of window "live Video" to ¬¨the hilite of bg btn "frame differenced"end ifend SetValues-- These scripts uses a custom XCMD to control the Pioneer 8000 Laserdisc-- player. They are provided simply as an example of one way one-- might go about designing a laserdisc capture utility. Note that-- the Pioneer XCMD that comes with this stack uses the modem port-- for communication and transmits its commands at 4800 baud, which-- means that it might possibly work with a Pioneer 4200, but I haven't-- tried it.on MakeLaserMovie startFrame,endFrameGrabSelectedFrames startFrame,endFrameif the hilite of btn "Grab Sound" thenGrabSound startFrame,endFrameelseReportTimeend ifend MakeLaserMovieon GrabSelectedFrames startFrame,endFrameglobal startTimeput the seconds into startTimeif there is not a window "Live Video" thenanswer "Click on Show Video Window First"exit GrabSelectedFramesend ifSetValuesput false into funnyJumpput framerate() into discFrameRateif discFrameRate = 24 thenput 2 into jumpFramessend mouseUp to bg btn "12 fps"put 12 into fpselse --if discFrameRate = 30 thenput 3 into jumpFramesif the hilite of bg btn "10 fps" thenput 10 into fpselse if the hilite of bg btn "12 fps" thenput true into funnyJumpput 12 into fpselse if the hilite of bg btn "15 fps" thenput 2 into jumpFramesput 15 into fpsend ifend ifSet FrameRate of window "live video" to fpsSet KeyFrameRate of window "live video" to fpsPioneer frameModePioneer search,startFramePioneer GetFrameput the result into currFramesend BeginSingleGrabMovie to window "live Video"if the result is not empty thenPostError the resultexit to HyperCardend ifput 0 into numFramesput rect of btn progress1 into progRectput width of btn progress1 into progWidthput trunc((calcFrame(endFrame) - calcFrame(startFrame)) ¬¨* fps / discFrameRate) into totalFramesput calcFrame(startFrame) into currFramerepeat until numFrames > totalFramesadd 1 to numFrames-- 29.97 NTSC drop frameif trunc(numFrames / 1000) * 1000 = numFrames then next repeatsend GrabOneFrame to window "live Video"if the result is not empty thensend EndSingleGrabMovie to window "live Video"PostError the resultexit GrabSelectedFramesend ifadd jumpFrames to currFramePioneer search,invCalcFrame(currFrame)if funnyJump then put 5-jumpFrames into jumpFrames -- special case 12 fps on 30 fps discput numFrames / totalFrames into ratioput item 1 of progRect + round(ratio * progWidth) into item 3 of progRectset rect of btn progress2 to progRectend repeatEndMovieput 0 into item 3 of progRectset rect of btn progress2 to progRectput "Done grabbing Video"end GrabSelectedFrameson GrabSound startFrame,endFrameput " -- About to grab sound " after msgput framerate() into divisorif there is a window "live video" then send releaseSound to window "live video"QTEditMovie field filename, document, the topLeft of bg btn hereif the result is not empty thenPostError the resultexit GrabSoundend ifset grabDoneMsg of window "edit window" to DoGrabMsg-- Tell editWindow that we want to grab an amount of sound-- equal in duration to the movie ("movieLength" is a keyword).-- One could specify an actual value here (in ticks)set soundDuration of window "edit window" to "movieLength"Pioneer search,invCalcFrame(calcFrame(startFrame)-60)Pioneer StopAt,invCalcFrame(calcFrame(endFrame)+60)send grabAudioSoon to window "edit window"if the result is not empty thenPostError the resultexit GrabSoundend ifPioneer playFwdPioneer GetFrameTicksget the resultput 1 + trunc(item 2 of it + (calcFrame(startFrame) - ¬¨calcFrame(item 1 of it)) * 60 / divisor) into startTput 1 + trunc(item 2 of it + (calcFrame(endFrame) - ¬¨calcFrame(item 1 of it)) * 60 / divisor) into endTset soundStart of window "edit window" to startTset soundEnd of window "edit window" to endTsend grabAudioNow to window "edit window"if the result is not empty then PostError the resultend GrabSoundon EndMoviesend EndSingleGrabMovie to window "live Video"get the resultif it is not empty thenposterror itend ifend EndMovieon DoGrabMsgsend GrabMsg to this cardend DoGrabMsgon GrabMsgReportTimeend GrabMsgon ReportTimeglobal startTimeput (the seconds - startTime) / 60 & " minutes"put 0 into startTimeend ReportTime-- These deal with CAV vs CLV frame information from Pioneer 8000-- calcframe returns the proper frame number whether the input was-- already one or if it was Phillips time code.function calcFrame fglobal frameTypeif the number of chars in f is 5 thenput "frame" into frameTypereturn felse if the number of chars in f is 7 thenput char 2 to 3 of f into minput char 4 to 5 of f into secput char 6 to 7 of f into frameNoput "timecode" into frameTypereturn frameNo + sec*30 + min*30*60elseput "error" into frameTypereturn "error"end ifend calcFrame-- invCalcFrame converts back to time code if frameType was that type-- calcFrame above MUST have been called at least once so that frameType-- can be determinedfunction invCalcFrame tglobal frameTypeif frameType = "frame" thenreturn telse if frameType = "timecode" thenreturn t mod 30 + t div 30 mod 60 * 100 + t div (30*60) * 10000elsereturn "error"end ifend invCalcFrame-- plays the disc for one second and guestimates whether the disc is at 24 or 30 fpsfunction FrameRatePioneer frameModePioneer playFwdPioneer getframeticksput the result into bozoput item 1 of bozo into frameNumput item 2 of bozo into frameTicksput frameTicks + 60 - 2 into goalTickswait until the ticks >= goalTicksPioneer getframeticksput the result into bozo2put item 1 of bozo2 into frameNum2put item 2 of bozo2 into frameTicks2put round((calcFrame(frameNum2) - calcFrame(frameNum))) into fpsif fps < 27 thenreturn 24elsereturn 30end ifend FrameRate</script>
  885. </background>
  886.